package com.paipai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import tk.mybatis.spring.annotation.MapperScan;
@EnableScheduling//开启定时任务
@EnableAsync//开启多线程
@EnableEurekaClient
@EnableHystrix
@EnableFeignClients // 开启Feign功能
@MapperScan(basePackages = "com.paipai.dao")
@SpringBootApplication
public class OrderStart {
	public static void main(String[] args) {
		SpringApplication.run(OrderStart.class,args);
	}

}
